package 蓝桥第二期2024;

import java.util.Scanner;

public class task2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int r = 2024;
        int table;
        int n = sc.nextInt();
        if (r % n == 0){
            table = r / n;
        }else {
            table = r / n +1;
        }
        System.out.println(table);
    }
}
